package com.design.movieticket.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.design.movieticket.entity.Suggestion;

public interface SuggestionService {
    /** 建议信息分页查询 */
    public LambdaQueryWrapper buildQuery(Suggestion suggestion);

    /** 分页相关 */
    public <E extends IPage<Suggestion>> E page(E page, Wrapper<Suggestion> queryWrapper);

    /** 新增或更新建议数据 */
    public void addOrUpdateSuggestionInfo(Suggestion suggestion);

    /** 获取建议信息详情 */
    public Suggestion getSuggestionDetail(long id);

    /** 删除建议信息 */
    public void delSuggestionById(long id);
}
